#ifndef _PARSE_WATCH_VALUE_H_
#define _PARSE_WATCH_VALUE_H_
#endif
#include "debugger_defs.h"

cb::shared_ptr<GDBWatch> AddChild( cb::shared_ptr<GDBWatch> parent, wxString const &str_name );

bool ParseGDBWatchValue( cb::shared_ptr<GDBWatch> watch, wxString const &value );
bool ParseCDBWatchValue( cb::shared_ptr<GDBWatch> watch, wxString const &value );

struct GDBLocalVariable {
  GDBLocalVariable( wxString const &nameValue, size_t start, size_t length );

  wxString name, value;
  bool error;
};


void TokenizeGDBLocals( std::vector<GDBLocalVariable> &results, wxString const &value );
